package com.bread.bapiclientstater.utils;

import cn.hutool.crypto.digest.DigestAlgorithm;
import cn.hutool.crypto.digest.Digester;

/*
*签名工具类
 */
public class SignUtils {
    public  static  String genSign(String body,String secretKey){
        Digester md5 = new Digester(DigestAlgorithm.SHA256);
        String content = body +"5641"+secretKey;
        return  md5.digestHex(content);
    }
}
